package com.iximo.client.desktop;


import java.util.List;

import com.iximo.domain.Book;
import com.iximo.util.OpenAPIClient;

public class Iximo {
	 
	public static void main(String[] args) throws Exception {
//
		OpenAPIClient client = new OpenAPIClient(null,
				"7cc1a6d46dee26167629dcd5aea5f7a804d6f33d2", "20d355a65138b4e6e7fd034dce774266");
//		OpenAPICleint client = new OpenAPICleint(null,
//				"009d22764655d389bdda88419b41bdf604d81cce3", "6171a11bc6a2fba5834a9f1eaa9d8f69");

		//--------------->>
//		System.out.println(client.get_user_info(""));
//		System.out.println(client.update_user_info("newName", 0, "123456", "123456@neyomove.com", "15865546", "xxxx", "json"));
//		System.out.println(client.get_user_favorite(1, 30, ""));
//		System.out.println(client.delete_user_favorite(22, ""));
//		System.out.println(client.add_user_favorite(1903, ""));// post
//		System.out.println(client.get_user_book_mark(1, 30, "json"));
//		System.out.println(client.delete_user_book_mark(22, ""));
//		System.out.println(client.add_user_book_mark(20014, "40000352", "json"));// post
//		System.out.println(client.add_book_vote(71, ""));
//		System.out.println(client.get_book_comment(71, 1, 30, ""));
//		System.out.println(client.add_book_comment(71, "8658", "good", ""));
//		System.out.println(client.get_book_info(71, ""));
//		System.out.println(client.get_book_category(""));
//		System.out.println(client.get_book_category_sort_list(173, "hit", 1, 15, ""));
//		
//		System.out.println(client.get_book_chapter_content("40000102", ""));
//		System.out.println(client.get_book_chapters_list(109221, ""));
//		System.out.println(client.get_book_vip_chapters_list(109221, ""));
//		System.out.println(client.get_book_download_url(71, ""));
//		System.out.println(client.get_user_book_download_list(1, 15, ""));
		System.out.println(client.search("title", "长生", ""));//出现两条
//		System.out.println(client.get_message("notice", 10, ""));
//		System.out.println(client.get_gift_list(""));
//		
//		System.out.println(client.add_book_rating(71, 5, ""));//post
//		System.out.println(client.user_regedit("25685@tom.com", "5658565", ""));//post
//		System.out.println(client.send_message(81, "10", "good", 0, ""));//post
//		System.out.println(client.send_gift(18, "1086459", 78, ""));
		
//		System.out.println(client.get_message("inbox", 1, 30, ""));
//		
		//------------>>
		
		
	}
	

}
